/**
 * Created with IntelliJ IDEA
 * Description:
 * User: YKH
 * Date: 2022-04-29
 * Time: 21:07
 * author:Card
 */
public class Card {
    private String suit;
    private int val;
    public Card(String suit, int val) {
        this.suit = suit;
        this.val = val;
    }

    public String getSuit() {
        return suit;
    }

    public void setSuit(String suit) {
        this.suit = suit;
    }

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    @Override
    public String toString() {
        return "[" + val + suit +"]";

    }
}
